package com.test.service.impl.impl;

import com.test.annotation.Qualifier;
import com.test.annotation.Service;
import com.test.dao.UserDao;
import com.test.service.impl.UserService;

/**
 * Created by ASUS on 2017/8/6.
 */
@Service("userServiceImpl")
public class UserServiceImpl implements UserService{

    @Qualifier("userDaoImpl")
    private UserDao userDao;

    public void insert() {
        System.out.println("UserServiceImpl.insert() start");
        userDao.insert();
        System.out.println("UserServiceImpl.insert() end");
    }
}
